home *** CD-ROM | disk | FTP | other *** search
/ OpenGL Superbible (2nd Edition) / OpenGL SuperBible e2.iso / tools / FLTK-1.0.6 / bc5 / config.h next >
Encoding:
C/C++ Source or Header  |  1999-03-29  |  3.4 KB  |  155 lines

  1. /*
  2.  * "$Id: config.h,v 1.1.2.1 1999/03/29 17:39:22 carl Exp $"
  3.  *
  4.  * Configuration file for the Fast Light Tool Kit (FLTK).
  5.  *
  6.  * Copyright 1998-1999 by Bill Spitzak and others.
  7.  *
  8.  * This library is free software; you can redistribute it and/or
  9.  * modify it under the terms of the GNU Library General Public
  10.  * License as published by the Free Software Foundation; either
  11.  * version 2 of the License, or (at your option) any later version.
  12.  *
  13.  * This library is distributed in the hope that it will be useful,
  14.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  16.  * Library General Public License for more details.
  17.  *
  18.  * You should have received a copy of the GNU Library General Public
  19.  * License along with this library; if not, write to the Free Software
  20.  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
  21.  * USA.
  22.  *
  23.  * Please report all bugs and problems to "FLTK-bugs@easysw.com".
  24.  */
  25.  
  26. /*
  27.  * BORDER_WIDTH:
  28.  *
  29.  * Thickness of FL_UP_BOX and FL_DOWN_BOX.  Current 1,2, and 3 are
  30.  * supported.
  31.  *
  32.  * 3 is the historic FLTK look.
  33.  * 2 is the default and looks like Microsoft Windows, KDE, and Qt.
  34.  * 1 is a plausible future evolution...
  35.  *
  36.  * Note that this may be simulated at runtime by redefining the boxtypes
  37.  * using Fl::set_boxtype().
  38.  */
  39.  
  40. #define BORDER_WIDTH 2
  41.  
  42. /*
  43.  * HAVE_GL:
  44.  *
  45.  * Do you have OpenGL? Set this to 0 if you don't have or plan to use
  46.  * OpenGL, and FLTK will be smaller.
  47.  */
  48.  
  49. #define HAVE_GL 1
  50.  
  51. /*
  52.  * USE_COLORMAP:
  53.  *
  54.  * Setting this to zero will save a good deal of code (especially for
  55.  * fl_draw_image), but FLTK will only work on TrueColor visuals.
  56.  */
  57.  
  58. #define USE_COLORMAP 1
  59.  
  60. /*
  61.  * HAVE_XDBE:
  62.  *
  63.  * Do we have the X double-buffer extension?
  64.  */
  65.  
  66. #define HAVE_XDBE 0
  67.  
  68. /*
  69.  * USE_XDBE:
  70.  *
  71.  * Actually try to use the double-buffer extension?  Set this to zero
  72.  * disable use of XDBE without breaking the list_visuals program.
  73.  */
  74.  
  75. #define USE_XDBE HAVE_XDBE
  76.  
  77. /*
  78.  * HAVE_OVERLAY:
  79.  *
  80.  * Use the X overlay extension?  FLTK will try to use an overlay
  81.  * visual for Fl_Overlay_Window, the Gl_Window overlay, and for the
  82.  * menus.  Setting this to zero will remove a substantial amount of
  83.  * code from FLTK.  Overlays have only been tested on SGI servers!
  84.  */
  85.  
  86. #define HAVE_OVERLAY 0
  87.  
  88. /*
  89.  * HAVE_GL_OVERLAY:
  90.  *
  91.  * It is possible your GL has an overlay even if X does not.  If so,
  92.  * set this to 1.
  93.  */
  94.  
  95. #define HAVE_GL_OVERLAY HAVE_OVERLAY
  96.  
  97. /*
  98.  * WORDS_BIGENDIAN:
  99.  *
  100.  * Byte order of your machine: 1 = big-endian, 0 = little-endian.
  101.  */
  102.  
  103. #define WORDS_BIGENDIAN 0
  104.  
  105. /*
  106.  * U16, U32, U64:
  107.  *
  108.  * Types used by fl_draw_image.  One of U32 or U64 must be defined.
  109.  * U16 is optional but FLTK will work better with it!
  110.  */
  111.  
  112. #define U16 unsigned short
  113. #define U32 unsigned
  114. /* #undef U64 */
  115.  
  116. /*
  117.  * HAVE_DIRENT_H, HAVE_SYS_NDIR_H, HAVE_SYS_DIR_H, HAVE_NDIR_H, HAVE_SCANDIR:
  118.  *
  119.  * Where is <dirent.h> (used only by fl_file_chooser and scandir).
  120.  */
  121.  
  122. #define HAVE_DIRENT_H 1
  123. #define HAVE_SYS_NDIR_H 0
  124. #define HAVE_SYS_DIR_H 0
  125. #define HAVE_NDIR_H 0
  126. #define HAVE_SCANDIR 0
  127.  
  128. /*
  129.  * possibly missing sprintf-style functions:
  130.  */
  131.  
  132. #define HAVE_VSNPRINTF 0
  133. #define HAVE_SNPRINTF 0
  134. #define HAVE_VSPRINTF 1
  135.  
  136. /*
  137.  * HAVE_SYS_SELECT_H:
  138.  *
  139.  * Whether or not select() call has its own header file.
  140.  */
  141.  
  142. #define HAVE_SYS_SELECT_H 0
  143.  
  144. /*
  145.  * HAVE_POLL:
  146.  *
  147.  * Use poll() if we don't have select().
  148.  */
  149.  
  150. #define HAVE_POLL 0
  151.  
  152. /*
  153.  * End of "$Id: config.h,v 1.1.2.1 1999/03/29 17:39:22 carl Exp $".
  154.  */
  155.